Cut-Property and Negation as Failure
نویسنده
چکیده
What is the semantics of Negation-as-Failure in logic programming? We try to answer this question by proof-theoretic methods. A rule based sequent calculus is used in which a sequent is provable if, and only if, it is true in all three-valued models of the completion of a logic program. The main theorem is that proofs in the sequent calculus can be transformed into SLDNF-computations if, and only if, a program has the cut-property. A fragment of the sequent calculus leads to a sound and complete semantics for SLDNFresolution with substitutions. It turns out that this version of SLDNF-resolution is sound and complete with respect to three-valued possible world models of the completion for arbitrary logic programs and arbitrary goals. Since we are dealing with possibly nonterminating computations and constructive proofs, three-valued possible world models seem to be an appropriate semantics.
منابع مشابه
A Situation Calculus Semantics for the Prolog Cut Operator 1
Given a deenite logic program with cut, we proceed in two steps to give it a semantics. First, we delete cut from the program, and construct the basic action theory for the resulting cut-free program in the situation calculus according to (Lin and Reiter 3]). We then formalize the eeects of cut by adding to the basic action theory a situation calculus sentence that characterizes the set of situ...
متن کاملNegation-Complete Logic Programs
We give a short, direct proof that a logic program is negationcomplete if, and only if, it has the cut-property. The property negationcomplete refers to three-valued models, the cut-property is defined in terms of ESLDNF-computations only.
متن کاملApplications of the Situation Calculus to Formalizing Control and Strategic Information: the Prolog Cut Operator
We argue that the situation calculus is a natural formalism for representing and reasoning about control and strategic information. As a case study, in this paper we provide a situation calculus semantics for the Prolog cut operator, the central search control operator in Prolog. We show that our semantics is well-behaved when the programs are properly stratiied. We also show that according to ...
متن کاملThe witness properties and the semantics of the Prolog cut
The semantics of the Prolog “cut” construct is explored in the context of some desirable properties of logic programming systems, referred to as the witness properties. The witness properties concern the operational consistency of responses to queries. A generalization of Prolog with negation as failure and cut is described, and shown not to have the witness properties. A restriction of the sys...
متن کاملRelevance Principle for Substructural Logics with Mingle and Strong Negation
We introduce intuitionistic and classical substructural logics with structural rules mingle and connective strong negation, and investigate the cut-elimination property and the relevance principle for these logics. The relevance principle does not hold for substructural logics with mingle and usual negation, but holds for those with mingle and strong negation.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Int. J. Found. Comput. Sci.
دوره 5 شماره
صفحات -
تاریخ انتشار 1994